package com.cykj.service;

import com.cykj.dto.ResponseDto;
import com.cykj.pojo.PsUser;
import com.cykj.vo.QueryUser;
import com.cykj.vo.UserVo;

public interface UserService {
    //获取所有数据
    ResponseDto getAll(QueryUser vo);
    //获取用户id
    PsUser getUserById(Integer id);
    //修改用户状态
    ResponseDto updateUserStatus(Integer id, Integer status);
    //重置密码
    ResponseDto resetPassword(Integer id, String newPassword);
    //软删除
    ResponseDto updateUserDelete(Integer id, Integer userDelete);

    // 获取七天内每天的用户注册量
    ResponseDto getRegisterCountInSevenDays();

    // 获取一个月内的用户注册量
    ResponseDto getRegisterCountInOneMonth();

    // 获取半年内的用户注册量
    ResponseDto getRegisterCountInHalfYear();

    //扣费
    ResponseDto deductions(UserVo vo);
    //咨询师加钱
    ResponseDto addMoney(UserVo vo);
    //查询用户余额
    ResponseDto selectUserBalance(UserVo vo);
}
